package com.yvon.core;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yvon.core.page.ListData;
import com.yvon.core.page.SearchCriteria;
import com.yvon.core.support.LambdaDeleteWrapperChain;


public interface IBaseService<T> extends IService<T> {

    ListData page(SearchCriteria criteria);

    default LambdaDeleteWrapperChain<T> lambdaDelete() {
        return new LambdaDeleteWrapperChain(this);
    }
}